package com.jdd.modules.sdkidentifyresultpushlog.entity.enums;

/**
 * @version 1.0
 * @Description:
 * @author： jdd尚岳
 * @Date: 2022-04-07 11:22
 */
public enum PropertiesFileNameKind {
    APPLICATION("application.properties"),
    APPLICATION_DEV("application-dev.properties"),
    APPLICATION_TEST("application-test.properties"),
    APPLICATION_PROD("application-prod.properties");

    private String value;

    private PropertiesFileNameKind(String value) {
        this.value = value;
    }

    public static PropertiesFileNameKind getByValue(String value) {
        for (PropertiesFileNameKind ls : PropertiesFileNameKind.values()) {
            if (ls.value == value) {
                return ls;
            }
        }
        return null;
    }

    public String value() {
        return this.value;
    }
}
